package com.example.springboot_demo.demos.web.book_work.Pojo.entity;


import com.example.springboot_demo.demos.web.book_work.Enum.BookStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("书籍信息")
public class Book {


    private Long id;

    @ApiModelProperty("书籍名称")
    private String title;
    @ApiModelProperty("书籍作者")
    private String author;
    @ApiModelProperty("库存")
    private Integer stock;
    @ApiModelProperty("书籍状态")
    private BookStatus status;
}
